package com.yunfeng.aolin.dao;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import com.yunfeng.aolin.entity.PurchaseMaterials;

public interface PurchaseMaterialsDAO extends
		JpaRepository<PurchaseMaterials, Long>,
		JpaSpecificationExecutor<PurchaseMaterials> {
	Page<PurchaseMaterials> findByMingchengContaining(String mingcheng,
			Pageable pageable);
}